package com.eypg.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.eypg.dao.BaseDAO;
import com.eypg.pojo.Productimage;
import com.eypg.service.FileUploadService;
@Service
public class FileUploadServiceImpl implements FileUploadService{
	@Autowired
	@Qualifier("baseDao")
	BaseDAO baseDao;

	public void uploadFile(Productimage file) {
		baseDao.saveOrUpdate(file);
	}
	


}
